package com.fc.mall.dao;

import com.fc.mall.dto.PmsProductCategoryWithChildrenItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品分类自定义Dao
 * Created by dobuy on 2018/5/25.
 */
public interface PmsProductCategoryDao {
    /**
     * showStatus为 1 时，查询商品父类别与子类别都显示的项
     * @param showStatus
     * @return
     */
    List<PmsProductCategoryWithChildrenItem> listWithChildren(@Param("showStatus") Integer showStatus);

}
